<!doctype html>
<html lang="en" ng-app="marketApp">
<head>
    <meta charset="UTF-8">
    <title>66小区</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="format-detection" content="telephone=no"/>
    <link href="css/66.css" rel="stylesheet" type="text/css"/>
    <link href="css/home.css" rel="stylesheet" type="text/css"/>
</head>
<body class="index" ng-controller="GoodsListCtrl">
<div class="categorylist-w">
    <nav class="category-links clearfix ng-cloak">
        <!--宝宝树66小区二次改造    mod   zhangm  20170905  start-->
        <article class = "post-list">
            <div class = "select-title">
        <span class = "classify">
            <span id = "classify">最新发布</span>
            <img style="width: 10px;height: 5px;vertical-align:middle;" src = "./images/arrow_down.png">
        </span>
            </div>
            <div class = "select-list" id = "select_list" style="display: none;">
                <ul>
                    <li id="default" class = "selected" data-val="default">最新发布</li>
                    <li id="location" data-val="location">离我最近</li>
                    <li id="priceHighToLow" data-val="priceHighToLow">价格由高到低</li>
                    <li id="priceLowToHigh" data-val="priceLowToHigh">价格由低到高</li>
                </ul>
            </div>
        </article>
        <!--宝宝树66小区二次改造    mod   zhangm  20170905  end-->
    </nav>
</div>
<div class="wrapper">
    <div class="layout">
        <div class="swiper-container"> <!--banner-->
            <div class="swiper-wrapper">
            </div>
            <div class="pagination"></div>
        </div>
        <!--<div class="categorylist-w">-->
        <!--<nav class="category-links clearfix ng-cloak">-->
        <!--<a href="javascript:;" ng-click="clickLocal()" onclick="$hideLayout(0)"><span>{{rangeList[1].name}}</span></a>-->
        <!--<a href="javascript:;" ng-click="clickGoods()" onclick="$hideLayout(1)"><span>闲置</span></a>-->
        <!--<a href="javascript:;" ng-click="clickServices()" onclick="$hideLayout(2)"><span>服务</span></a>-->
        <!--</nav>-->
        <!--</div>-->

        <ul class="clearfix goodslist ng-cloak">
            <li ng-repeat="item in goodsList" class="clearfix">
                <a href="javascript:;" ng-click="goToDetail(item)">
                    <div class="good-img-w fl">
                        <img ng-style="{height:goodsImgH,width:goodsImgW}" ng-src="{{item.pic}}">

                        <div class="saled-icon-w">
                            <img ng-if="item.dealStatus == 1" src="images/deal.png"/>
                            <img ng-if="item.dealStatus != 1&&item.saleNumber!=null" src="images/zhuan.png"/>
                            <!--<span class="vertical-l"></span>-->
                            <!--<span class="saled-icon">已售</span>-->
                        </div>
                        <div class="rec_icon">
                            <img ng-if="item.level==1" src="images/rec_icon.png"/>
                        </div>
                    </div>
                    <div ng-style="{height:goodsImgH}" style="position: relative;overflow: hidden">
                        <p class="title">{{item.title}}</p>

                        <p class="desc">{{item.desc}}</p>

                        <p class="distance">{{item.userCommunity?item.userCommunity:'距离'+item.distance}}</p>
                        <p class="browse"><img src="images/liulan.png"/><span style="float: right">{{item.browner}}</span></p>
                        <p class="price"><span class="nowprice"><em>¥</em>{{item.type==2?'免费':item.presentPrice}} <span
                                ng-bind="name"></span></span>
                            <del class="preprice" ng-if="item.type==1 && item.originalPrice != 0"><em>原价：</em>{{item.originalPrice}}
                            </del>
                        </p>
                        <p class="clearfix"><span
                                class="time">{{item.releaseDate | dateFormat}}</span>
                        </p>
                    </div>
                </a>
            </li>
            <div id="loadingDoneContainer">
                数据结束了！
            </div>
        </ul>
        <p class="loadingMore"></p>

        <p class="no_goods">{{no_goodsText}}</p>
    </div>
</div>
<div class="sale_pop" id="reged">
    <div class="loading-con">
        <p style="margin-top: 50px">该商品为赶集专场专用</p>

        <p style="margin-top: 20px">欢迎您<span style="color:#f97442;font-size: 1.2em">周六18点</span>来赶大集，淘好货</p>

        <!--<div class="btn" ng-click="hideSale()">-->
        <!--<span>我知道了</span>-->
        <!--</div>-->

        <ul class="btn">
            <li ng-click="hideSale()" style="background: #F5A623;border-bottom-left-radius: 5px;">我知道了</li>
            <li ng-click="saveRecord()" style="background: #F97442;border-bottom-right-radius: 5px;"><span
                    id="saleRecordMsg">到时通知我</span></li>
        </ul>
    </div>
</div>

<div class="loading-pop">
    <img id="load_img" src="images/loading.gif" class="loading-img">
    <span id="reload" class="loading-img" style="display:none" ng-click="reload()">重新加载</span>
</div>

<div id="sale" style="width: 100%;height:100%;position: absolute;top:0;display: none" ng-click="gotoSale()">
    <a id="sale_url">
        <img style="width: 100%;height:100%" src="images/rec_bg.jpg"/>
    </a>
</div>

<div class="to_top"><img src="images/to_top.png"/></div>


<script src="lib/jquery-2.1.1.min.js" type="text/javascript"></script>
<script src="lib/jquery.mobile-1.4.5-custom-min.js"></script>
<!--<script src="lib/jquery.mobile-1.4.5.min.js"></script>-->
<script src="lib/idangerous.swiper.js" type="text/javascript"></script>
<script src="lib/angular/angular.min.js" type="text/javascript"></script>
<script src="lib/angular/angular-route.min.js" type="text/javascript"></script>
<script src="lib/angular/angular-resource.min.js" type="text/javascript"></script>
<script src="js/home_animation.js" type="text/javascript"></script>
<script src="js/home.js"></script>
<script src="lib/moment.min.js"></script>
<script src="js/filters.js"></script>
</body>
</html>
